<template>

  <div class="login_box">
    <h2 style="color: #666">新用户注册</h2>
    <p style="color: #666">很高兴您将成为商城的会员（注册只需一步）</p>
    <div class="login_input">
      <input type="text" placeholder="手机号码" class="login_input_inp">
      <div class="login_input_icon"></div>
    </div>
    <div class="login_input">
      <input type="text" placeholder="密码" class="login_input_inp">
      <div class="login_input_icon"></div>
    </div>
    <div class="login_input">
      <input type="text" placeholder="确认密码" class="login_input_inp">
      <div class="login_input_icon"></div>
    </div>
    <div class="login_input">
      <input type="text" placeholder="用户名" class="login_input_inp">
      <div class="login_input_icon"></div>
    </div>
    <div class="login_input">
      <input type="text" class="login_input_inp">
      <div class="login_input_icon">
        <!-- <img src="../../assets/psw.jpg" width="100%"> -->
      </div>
    </div>
    <div class="login_input">
      <div class="login_input_inp"></div>
      <div class="login_input_icon"></div>
    </div>
    <div class="login_input">
      <div class="login_input_inp"></div>
      <div class="login_input_icon login_psw">获取验证码</div>
    </div>
    <div class="login_btn">立 即 注 册</div>
    <p class="login_enroll" @click="gotologin">已有账号？ 立即登录</p>
  </div>

</template>

<script>
  export default {



    methods: {
      gotologin() {
        this.$router.push({path : "/login"})
      }
    },
  }
</script>

<style scoped>
  .login_box {
    padding-top: 5vh;
    width: 70%;
    margin: 0 auto;
    height: 95%;
  }

  .login_btn {
    width: 80%;
    height: 6vh;
    line-height: 6vh;
    font-size: 16px;
    margin: 10%;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #e570e7 0%, #79f1fc 100%);
    -webkit-tap-highlight-color: transparent;
    border-radius: 0.1rem;
  }

  .login_input {

    width: 100%;
    height: 6vh;
    margin: 2vh 0;
    border-radius: 0.1rem;
    background-color: #F5F5F5;
    display: flex;
    justify-content: space-around;
    align-items: center;
    overflow: hidden;
  }

  .login_input_inp {
    width: 45%;
    height: 100%;
    border: none;
    outline: none;
    color: #666;
    background-color: #F5F5F5;
  }

  .login_input_icon {
    width: 45%;
    height: 100%;
    background-color: #F5F5F5;
  }

  .login_psw {
    text-align: center;
    line-height: 6vh;
    border-left: 0.01rem solid #666;
  }

  .login_reset {
    font-size: 0.2rem;
    color: #666;
    text-align: center;
  }

  .login_enroll {
    font-size: 0.2rem;
    color: skyblue;
    text-align: center;
    font-weight: bold;
  }
</style>